import React from 'react';
export default class Dot extends React.Component {
    constructor(props) {
        super(props)
    }
    state = {
        
    }
    mouseDown(e) {
        this.props.mouseDown(e)
    }
    render() { 
        return <div className="dot_container" style={{
            left:this.props.move + 'px'
        }}
            onMouseDown={(e) => this.mouseDown(e)}
        ></div>

    }
}